﻿package {
    import flash.events.EventDispatcher;


    /**
     * ...
     * @author
     */
    public class Observable extends EventDispatcher {
        public function setChanged():void {

        }

        public function notifyObservers(args:Object = null):void {
            dispatchEvent(new Observer(args));
        }

        public function addObserver(func:Function):void {
            this.addEventListener(Observer.OBSERVER_EVENT, func);
        }


    }

}